﻿using System;

namespace Randomize.Core.Exceptions
{
    public class UnregisteredTypeException : Exception
    {
        private const string ErrorMessageFormat = "Type {0} was not registered";

        public UnregisteredTypeException(Type unregisteredType)
            : base(string.Format(ErrorMessageFormat, unregisteredType))
        {
        }
    }
}
